# models.py
from django.db import models

class Customer(models.Model):
    Cid = models.CharField(max_length=10, primary_key=True)
    CcompanyName = models.CharField(max_length=30, null=False)
    CcompanySName = models.CharField(max_length=10, null=False)
    CcompanyAddress = models.CharField(max_length=40, null=False)
    CcompanyPhone = models.CharField(max_length=15, blank=True, null=True)
    Cemail = models.CharField(max_length=30, blank=True, null=True)
    Cname = models.CharField(max_length=10, null=False)
    CtelPhone = models.CharField(max_length=11, null=False)
    other = models.CharField(max_length=20, blank=True, null=True)

    class Meta:
        db_table = 'tb_customer'
